package com.wavecoler.professor.objects;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable
public class AdviceType implements Serializable {
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key adviceTypeId;
	
	@Persistent
	private String adviceTypeNum;
	
	@Persistent
	private String Description;
	
	@Persistent
	private AdviceCategory adviceCategory;
	
	public Key getAdviceTypeId() {
		return adviceTypeId;
	}
	
	public String getAdviceTypeNum() {
		return adviceTypeNum;
	}
	
	public String getDescription() {
		return Description;
	}
	
	public AdviceCategory getAdviceCategory() {
		return adviceCategory;
	}
	
	public void setAdviceTypeNum(String adviceTypeNum) {
		this.adviceTypeNum = adviceTypeNum;
	}
	
	
	public void setDescription(String Description) {
		this.Description = Description;
	}
	
	public void setAdviceCategory(AdviceCategory adviceCategory) {
		this.adviceCategory = adviceCategory;
	}
	
	public AdviceType(String adviceTypeNum, String Description, AdviceCategory adviceCategory) {
		this.adviceTypeNum = adviceTypeNum;
		this.Description = Description;
		this.adviceCategory = adviceCategory;
	}

}
